<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>jQueryAndAjax</title>
    <script type="text/javascript" src="../js/jquery-3.5.1.min.js"></script>
    <script type="text/javascript">
        $(function(){
            var url = "http://localhost:8080/test.html";
            $("#content").load(url);

            var args = {"date":new Date()}
            $.post(url,args,function (data) {
                var name = data.person.name;
            })
        })
    </script>
</head>
<body>
    <div id="content"></div>

</body>
</html>